package com.ut.animator;

import ohos.agp.animation.Animator;

public class RepeatMode {

    private int value;

    public final static RepeatMode None = new RepeatMode(Animator.CurveType.INVALID);

    public final static RepeatMode Restart = new RepeatMode(Animator.CurveType.CYCLE);

    public final static RepeatMode Reverse = new RepeatMode(Animator.CurveType.ANTICIPATE);

    private RepeatMode(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }
}
